package com.andatsoft.laisim.utils;

public class Common {

	public static final String SONG_ADDRESS_LIST_NAME = "com.andatsoft.laisim.songaddresslist";
	public static final String INTENT_UPDATE_TIME_PLAYED = "com.andatsoft.laisim.timeplayedintent";
	public static final String INTENT_UPDATE_SONG_INFO = "com.andatsoft.laisim.songinfointent";
	public static final String INTENT_STOP_SONG = "com.andatsoft.laisim.stopsong";
	public static final String INTENT_NOTIFY_INFO = "com.andatsoft.laisim.notifyintent";
	public static final String BROADCAST_SONG_CURRENT_DURATION = "broadcast_current_dur";
	public static final String SONG_TITLE_INTENT = "song_title_intent";
	public static final String SONG_ID_INTENT = "song_id_intent";
	public static final String SONG_LYRICS_INTENT = "song_lyrics_intent";
	public static final String RESULT_INTENT_FOR_LYRICS_FRAGMENT = "lyricsresultintent";
	public static final long DEFAULT_DOWNTIME = 2000;

	public static final String PLAYER_SETTING_NAME = "ps.ls";
	public static final int REQUEST_CODE_FOR_LIST_DIALOG = 10000;
	public static final int REQUEST_CODE_FOR_EDIT_TAGS = 10001;
	public static final int REQUEST_CODE_FOR_LYRICS_EDITOR = 10002;
	public static final int REQUEST_CODE_MAIN_LIBRARY = 10003;
	public static final int REQUEST_CODE_FOR_CREATE_PLAYLIST = 10008;
	public static final int RESULT_CODE_FOR_LYRICS_FRAGMENT = 10004;
	public static final int RESULT_CODE_FOR_LYRICS_FRAGMENT_FROM_LYRICS_EDITOR = 10005;
	public static final int RESULT_CODE_EDIT_TAGS = 10006;
	public static final int RESULT_CODE_LIBRARY_MAIN = 10007;
	public static final int RESULT_CODE_CREATE_PLAYLIST = 10009;
	public static final String RESULT_DATA_CREATE_PLAYLIST_ID = "com.andatsoft.laisim.cpidr";

	// Intent data
	public static final String INTENT_DATA_LIST_SONG = "com.andatsoft.laisim.il";
	public static final String INTENT_DATA_CREATE_PLAYLIST_FROM_TOOLBOX_CMD = "com.andatsoft.laisim.cpftcmd";
	public static final String INTENT_DATA_CREATE_PLAYLIST_FROM_TOOLBOX_SONGID = "com.andatsoft.laisim.cpftsid";
	public static final String INTENT_DATA_CREATE_PLAYLIST_FROM_TOOLBOX_ALBUM = "com.andatsoft.laisim.cpftal";
	public static final String INTENT_DATA_CREATE_PLAYLIST_FROM_TOOLBOX_GENRE = "com.andatsoft.laisim.cpftalg";
	public static final String INTENT_DATA_CREATE_PLAYLIST_FROM_TOOLBOX_ARTIST = "com.andatsoft.laisim.cpftart";
	public static final String INTENT_DATA_CREATE_PLAYLIST_FROM_TOOLBOX_FOLDER = "com.andatsoft.laisim.cpftfd";
	public static final String INTENT_DATA_SONG_PLAYING_CHANGED = "com.andatsoft.laisim.spc";
	public static final String INTENT_DATA_SONG_URI = "com.andatsoft.laisim.songuri";

	// Share preferences
	public static final String SP_MAIN_NAME = "lssp";
	public static final String SP_MAIN_LAUNCH_TIME = "launchtime";

	public static final String SP_LIBRARY_NAME = "llssp";
	public static final String SP_LIBRARY_PLAYING_SONG_INDEX = "lpsi";
	public static final String SP_LIBRARY_PLAYING_LIB_INDEX = "lpli";
	public static final String SP_LIBRARY_PLAYING_ALBUM_INDEX = "lpai";
	public static final String SP_LIBRARY_PLAYING_TWO_LINE_INDEX = "lptli";
	public static final String SP_LIBRARY_TWO_LINE_TYPE = "ltlt";
	public static final String SP_LIBRARY_PLAY_SOURCE = "lps";
	public static final String SP_LIBRARY_PLAY_TYPE = "lpt";

	public static final String SP_SOUND_EFFECT_NAME = "sen";
	public static final String SP_SOUND_EFFECT_IS_EQ = "is_eq";
	public static final String SP_SOUND_EFFECT_IS_BASS = "is_bass";

	public static final String SP_CONFIG_NAME = "cfn";
	public static final String SP_CONFIG_EQ = "cfeq";
	public static final String SP_CONFIG_BASS = "cfb";
	public static final String SP_CONFIG_PLAY_SONG_ID = "cfpsid";
	public static final String SP_CONFIG_PLAY_SONG_INDEX = "cfpsi";
	public static final String SP_CONFIG_CURRENT_DURATION = "cfcd";
	public static final String SP_CONFIG_SHUFFLE = "sfs";
	public static final String SP_CONFIG_REPEAT = "cfrp";
	public static final String SP_CONFIG_IS_LOADED = "icl";

	public static final String SP_ALBUM_ART_SETTING_NAME = "aas";
	public static final String SP_ALBUM_ART_IS_DOWNLOAD = "dl";
	public static final String SP_ALBUM_ART_IS_DOWNLOAD_WIFI_ONLY = "dlwol";
	public static final String SP_ALBUM_ART_IS_DOWNLOAD_HIGH_QUALITY = "dlhq";
	public static final String SP_ALBUM_ART_IS_DISPLAY_ALBUM_ART = "dpaa";

	public static final String SP_AUDIO_SETTING_NAME = "aus";
	public static final String SP_AUDIO_IS_FADE = "auifio";
	public static final String SP_AUDIO_FADE_TIME = "auft";
	
	public static final String SP_LIB_SETTING_NAME = "libsn";
	public static final String SP_LIB_FILE_SIZE = "libfs";
	public static final String SP_LIB_FILE_EXT = "libfe";

	public static final String SP_HEADPHONES_SETTING_NAME = "hps";
	public static final String SP_HEADPHONES_IS_AUTO_PLAY_WHEN_PLUGGED = "hpapwp";
	public static final String SP_HEADPHONES_IS_AUTO_STOP_WHEN_UNPLUGGED = "hpaswu";

	public static final String SP_SEARCH_SETTING_NAME = "ssn";
	public static final String SP_SEARCH_IS_REMEMBER = "sir";
	public static final String SP_SEARCH_PLAY_TYPE = "spt";

	public static final String SP_WIDGET_SETTING_TINY_NAME = "wstiny";
	public static final String SP_WIDGET_SETTING_TINY_BG = "wstinybgc";

	public static final String SP_WIDGET_SETTING_SMALL_NAME = "wssmall";
	public static final String SP_WIDGET_SETTING_SMALL_BG = "wssmallbgc";
	public static final String SP_WIDGET_SETTING_SMALL_TITLE_COLOR = "wssmalltc";
	public static final String SP_WIDGET_SETTING_SMALL_TITLE_IS_BOLD = "wssmalltb";
	public static final String SP_WIDGET_SETTING_SMALL_TITLE_IS_ITALIC = "wssmallti";

	public static final String SP_WIDGET_SETTING_MEDIUM_NAME = "wsmedium";
	public static final String SP_WIDGET_SETTING_MEDIUM_BG = "wsmediumbgc";
	public static final String SP_WIDGET_SETTING_MEDIUM_TITLE_COLOR = "wsmediumtc";
	public static final String SP_WIDGET_SETTING_MEDIUM_TITLE_IS_BOLD = "wsmediumtb";
	public static final String SP_WIDGET_SETTING_MEDIUM_TITLE_IS_ITALIC = "wsmediumti";
	public static final String SP_WIDGET_SETTING_MEDIUM_OTHERS_COLOR = "wsmediumoc";
	public static final String SP_WIDGET_SETTING_MEDIUM_OTHERS_IS_BOLD = "wsmediumob";
	public static final String SP_WIDGET_SETTING_MEDIUM_OTHERS_IS_ITALIC = "wsmediumoi";

	public static final String SP_LOCK_SCREEN_SETTING_NAME = "loscs";
	public static final String SP_LOCK_SCREEN_SETTING_SHOULD_SHOW_LOCK = "loscssl";
	public static final String SP_LOCK_SCREEN_SETTING_USE_LAISIM_LOCK = "loscull";
	public static final String SP_LOCK_SCREEN_SETTING_SLIDE_TO_UNLOCK = "loscstu";
	public static final String SP_LOCK_SCREEN_SETTING_SHOW_DATE_TIME = "loscsdt";
	public static final String SP_LOCK_SCREEN_SETTING_SHOW_ALBUM_ART = "loscsaa";
	public static final String SP_LOCK_SCREEN_SETTING_SHOW_SEEK_BAR = "loscssb";

	// value
	/**
	 * Android 2.3.3 API level 10
	 */
	public static final int ANDROID_OS_GINGERBREAD = 1000;
	/**
	 * From Android API level 10 to Android ICS level 15
	 */
	public static final int ANDROID_OS_GINGERBREAD_TO_ICS = 1001;
	/**
	 * From Android API level 16+
	 */
	public static final int ANDROID_OS_JELLY_BEAN_PLUS = 1002;

}
